File description ...
Properties
EOF
Gets whether you have reached the end of the file.
Error
Gets whether any errors occurred reading or writing the file.
Methods
Delete
static void Delete(string filename)
Deletes the specified file from the disk.
Exists
static bool Exists(string filename)
Checks if the specified file exists on the file system.
Open
static File Open(string filename, FileMode fileMode)
Opens a disk file for reading or writing. These disk I/O functions are only intended for simple tasks.
ReadInt
Reads an integer value from the file.
ReadRawChar
Reads the next raw byte from the file.
ReadRawInt
Reads the next raw 32-bit int from the file.
ReadRawLineBack
Reads the next raw line of text from the file.
ReadStringBack
Reads the next string from the file.
WriteInt
void WriteInt(int value)
void WriteInt(bool value)
Writes an integer to the file.
WriteRawChar
void WriteRawChar(int value)
Writes a raw byte to the file.
WriteRawLine
void WriteRawLine(string text)
Writes a raw line of text to the file.
WriteString
void WriteString(string text)
Writes a string to the file.